<div class="modal-body no-p">
    <div class="row">
        <div class="col-xs-12">
            <section class="panel panel-primary no-b">
                <header class="panel-heading clearfix brtl brtr">
                    <div class="overflow-hidden">
                        <a href="javascript:;" class="h4 show no-m pt5">优惠券</a>
                        <small>${obj.name}</small>
                    </div>
                </header>
                <div class="list-group">
                    <table class="table table-bordered table-striped mg-t datatable">
                        <tbody>
                            <tr>
                                <td>${msg['sales.coupon.column.name']}</td><td>${obj.name}</td>
                            </tr>
                            <tr>
                                <td>${msg['sales.coupon.column.codeprefix']}</td><td>${obj.codeprefix}</td>
                            </tr>
                            <tr>
                                <td>${msg['sales.coupon.column.type']}</td>
                                <!--#if (obj.type=='1') {#-->
                                <td>订单满减</td>
                                <!--#}#-->
                                <!--#if (obj.type=='2') {#-->
                                <td>订单免运费</td>
                                <!--#}#-->
                                <!--#if (obj.type=='3') {#-->
                                <td>订单打折</td>
                                <!--#}#-->
                            </tr>

                            <!--#if (obj.type=='1') {#-->
                            <tr>
                                <td>满减抵扣金额</td><td>${obj.deductibleAmount}</td>
                            </tr>
                            <tr>
                                <td>条件金额</td><td>${obj.conditionAmount}</td>
                            </tr>
                            <!--#}#-->
                            <!--#if (obj.type=='2') {#-->

                            <!--#}#-->
                            <!--#if (obj.type=='3') {#-->

                            <!--#}#-->
                            <tr>
                                <td>${msg['sales.coupon.column.limit_num']}</td><td>${obj.limit_num}</td>
                            </tr>

                            <tr>
                                <td>优惠劵开始时间</td><td>${@date.getDate(obj.startTime)}</td>
                            </tr>
                            <tr>
                                <td>优惠劵结束时间</td><td>${@date.getDate(obj.endTime)}</td>
                            </tr>

                            <!--<tr>-->
                                <!--<td>${msg['sales.coupon.column.checkStatus']}</td>-->
                                <!--<td>-->
                                    <!--&lt;!&ndash;#if (obj.checkStatus == 0) {#&ndash;&gt;-->
                                    <!--未提交-->
                                    <!--&lt;!&ndash;#}else if (obj.checkStatus == 1) {#&ndash;&gt;-->
                                    <!--待审核-->
                                    <!--&lt;!&ndash;#} else if (obj.checkStatus == 2) {#&ndash;&gt;-->
                                    <!--审核通过-->
                                    <!--&lt;!&ndash;#} else if (obj.checkStatus == 3) {#&ndash;&gt;-->
                                    <!--未通过-->
                                    <!--&lt;!&ndash;#}#&ndash;&gt;-->
                                <!--</td>-->
                            <!--</tr>-->
                            <tr>
                                <td>${msg['sales.coupon.column.disabled']}</td>
                                <td>
                                    <!--#if (obj.disabled) {#-->
                                    <i class="fa fa-circle text-danger ml5"></i>
                                    <!--#}else {#-->
                                    <i class="fa fa-circle text-success ml5"></i>
                                    <!--#}#-->
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div type="button" class="btn btn-primary btn-block" data-dismiss="modal">${msg['globals.button.ok']}</div>
</div>
